package com.ruoyi.blog.domain;

import java.util.List;

/**
 * @author Tina
 * @version 1.0
 * @date 2021/6/5 13:07
 * @Desc 文章实体类
 **/
public class Article {
    private Long id;
    private String title;
    private String content;
    private Long userId;
    private String descript;
    private Integer type;
    private Long createTime;
    private String cover;
    private String status;
    private Meta meta;
    private List<String> tags;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Meta getMeta() {
        return meta;
    }

    public void setMeta(Meta meta) {
        this.meta = meta;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", userId=" + userId +
                ", descript='" + descript + '\'' +
                ", type=" + type +
                ", createTime=" + createTime +
                ", cover='" + cover + '\'' +
                ", status='" + status + '\'' +
                ", meta=" + meta +
                ", tags=" + tags +
                '}';
    }
}
